// 设置常见屏幕尺寸大小

// 划分15份
@no: 20;

// 设定默认情况
html {
    font-size: (750px / @no);
}

@media screen and (min-width: 320px) {
    html {
        font-size: (320px / @no);
    }
}

@media screen and (min-width: 360px) {
    html {
        font-size: (360px / @no);
    }
}

@media screen and (min-width: 375px) {
    html {
        font-size: (375px / @no);
    }
}

@media screen and (min-width: 384px) {
    html {
        font-size: (384px / @no);
    }
}

@media screen and (min-width: 400px) {
    html {
        font-size: (400px / @no);
    }
}

@media screen and (min-width: 414px) {
    html {
        font-size: (414px / @no);
    }
}

@media screen and (min-width: 424px) {
    html {
        font-size: (424px / @no);
    }
}

@media screen and (min-width: 480px) {
    html {
        font-size: (480px / @no);
    }
}

@media screen and (min-width: 540px) {
    html {
        font-size: (540px / @no);
    }
}

@media screen and (min-width: 720px) {
    html {
        font-size: (720px / @no);
    }
}

@media screen and (min-width: 750px) {
    html {
        font-size: (750px / @no);
    }
}

a {
    text-decoration: none;
}

img {
    vertical-align: middle;
}

li {
    list-style: none;
}

body {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
    font-size: 14px;
    background-color: #f2f4f7;
}

.wrap {
    background-color: #fff;
}

.header {
    text-align: center;
    height: 2.1333rem;
    line-height: 2.1333rem;
    border-bottom: 1px solid #eaeaea;
    font-size: .9333rem;
    color: #1c1c1c;
    font-weight: 400;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.2rem;

    a {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding-bottom: 1.6533rem;
        flex: 33.3333%;
        font-size: .6667rem;
        color: #070707;

        img {
            width: 3.7067rem;
            height: 3.7067rem;
        }
    }
}

.go {
    padding: 0 .2667rem 1.1467rem .48rem;

    img {
        width: 100%;
        height: 100%;
    }
}

.content {
    margin-top: .2667rem;
    padding: 1.0667rem .5867rem;
    background-color: #fff;

    .con-hd {
        display: flex;
        justify-content: space-between;
        margin-bottom: .88rem;
        height: 1.0133rem;
        line-height: 1.0133rem;

        h4 {
            margin: 0;
            font-size: .7467rem;
            color: #333;

            img {
                margin-right: 10px;
                width: 1.0133rem;
                height: 1.0133rem;
            }
        }

        .more {
            font-size: .5867rem;
            color: #999999;
        }
    }
}

.get-job-focus {
    position: relative;

    .swiper-container1 {
        // width: 100%;
        width: 14.4rem;
        height: 100%;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        transform: scale(0.8);
        opacity: 0.3;

        a {
            width: 9.0133rem;
            height: 10.0267rem;

            img {
                width: 100%;
                height: 100%;
            }

            p {
                margin-top: .64rem;
                font-size: .6667rem;
                color: #333;
            }
        }
    }

    // 当前选定的轮播图
    .swiper-slide-active,
    .swiper-slide-duplicate-active {
        transform: scale(1);
        z-index: 1;
        opacity: 1;
    }
}

.learn-focus {
    margin-bottom: 3.2rem;

    .swiper-slide {
        font-size: 18px;
        background: #fff;

        width: 7.7333rem;
        height: 9.0667rem;
        border-radius: .2667rem;
        box-shadow: 0 0 .2667rem rgba(0, 0, 0, .1);

        img {
            display: block;
            width: 100%;
            object-fit: cover;
        }

        h5 {
            margin: 0;
            padding-left: .2667rem;
            color: #333333;
            font-size: .7467rem;
            font-weight: 400;
        }

        div {
            padding: .5333rem;
            color: #999999;
        }

        span {
            color: #ff4400;
        }
    }
}

.footer {
    position: fixed;
    bottom: 0;
    z-index: 10;
    padding: .5333rem 1.1733rem;
    display: flex;
    justify-content: space-between;
    width: 20rem;
    height: 3.0133rem;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
    background-color: #fff;

    a {
        flex: 1;

        img {
            display: block;
            margin: 0 auto;
            width: 1.04rem;
            height: 1.0933rem;
        }

        p {
            text-align: center;
            margin-top: .2667rem;
        }
    }

    a:first-of-type {
        p {
            color: #51d1d6
        }
    }
}